package sadi.client;

import sadi.util.*;
import java.rmi.*;
import java.net.MalformedURLException;

public class DummyClient
{
	public static void main(String [] args)
	{
		try
		{
			WikiServer server = (WikiServer) Naming.lookup("rmi://localhost:1099/WikiServer");
			System.out.println(server.loginUser("test1", "test1"));
			System.out.println(server.registerUser("fwhstan", "fwhstan"));
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
	}
}
